<form class="layui-form layui-box" style='padding:25px 30px 20px 0' action="{:url()}" data-auto="true" method="post">
    <input type="hidden" name="id" value='{$vo.id|default=""}'>

    <div class="layui-form-item">
        <label class="layui-form-label">订单号</label>
        <div class="layui-input-block">
            <input type="text" value='{$vo.order_sn|default=""}' class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">预约人</label>
        <div class="layui-input-block">
            <input type="text" value='{$vo.user_name|default=""}' class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">电话</label>
        <div class="layui-input-block">
            <input type="text" value='{$vo.mobile|default=""}' class="layui-input" disabled>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">预约</label>
        <div class="layui-input-block">
            <input type="radio" name="ok" value="1" title="成功" checked="">
            <input type="radio" name="ok" value="2" title="失败">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">预约备注</label>
        <div class="layui-input-block">
            <textarea name="comment" placeholder="请输入备注内容" class="layui-textarea">{$vo.comment|default=""}</textarea>
        </div>
    </div>
    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>

<script>
    (function () {
        window.form.render();
    })();
</script>
